import java.rmi.RemoteException;
import java.util.ArrayList;


public class EdgeChaseThread extends Thread{

	private Server server;
	private ArrayList<Integer> list;
	private int resource;
	
	public EdgeChaseThread(Server server, ArrayList<Integer>list,int resource) {
		this.server=server;
		this.list=list;
		this.resource=resource;
		start();
	}
	
	@Override
	public void run() {
		 try {
			server.probe(list,resource);
		} catch (RemoteException e) {
			e.printStackTrace();
		}
	}
	


}
